table.table {
    &.table-small {
        >thead {
            >tr>th {
                height: 34px;
            }
        }
        td.add-line {
            line-height: 26px;
        }
        .ivu-input {
            height: 26px;
        }
        .cell-delete {
            width: 22px;
            .row-delete {
                padding: 6px 4px;
            }
        }
    }
    .cell-delete {
        width: 32px;
    }
}

tbody tr.hover {
    background: #f7fcff;
}

.table-fiexd-action {
    display: flex;
    .table-data-wrapper {
        flex: 1;
        height: 100%;
        overflow-x: auto;
    }
    .table-action-wrapper {
        box-shadow: 3px 0px 12px rgba(112, 112, 112, 0.5);
        z-index: 1;
        >.table {
            border-left: none;
            /*
            >tbody>tr,
            >thead>tr {
                box-shadow: -4px 0px 12px rgba(0, 0, 0, 0.44);
            }
            */
        }
    }
}

.text-right {
    text-align: right;
}

.table-wrapper {
    clear: both;
    position: relative;
    overflow-y: auto;
    .ivu-spin {
        display: flex;
        background: rgba(255, 255, 255, 0.6);
        justify-content: center;
        align-items: center;
        flex-direction: column;
        .ivu-spin-main {
            width: auto;
            height: auto;
        }
    }
}

.text-success {
    color: #2d8cf0;
}

.text-gray {
    color: #999;
}

.data-time {
    min-width: 65px;
    text-align: center;
}

.table {
    width: 100%;
    border-collapse: collapse;
    position: relative;
    border: 1px solid #dddee1;
    thead>tr>th.check-cell,
    tbody>tr>td.check-cell {
        width: 32px;
        /*padding-left: 10px;*/
        padding-right: 0px;
        cursor: pointer;
    }
    thead {
        th {
            height: 40px;
            white-space: nowrap;
            overflow: hidden;
            background-color: #f8f8f9;
            min-width: 0;
            box-sizing: border-box;
            text-align: left;
            text-overflow: ellipsis;
            vertical-align: middle;
            border-bottom: 1px solid #e9eaec;
            vertical-align: middle;
            padding: 0 8px;
            &:last-child {
                border-right: 1px solid #e9eaec;
            }
        }
    }
    tbody {
        tr {
            &.active {
                background: rgba(232, 232, 232, 0.8);
            }
            &:hover {
                background: hsla(197, 60%, 92%, 0.8)
            }
            &:nth-child(2n) td {
                background-color: rgba(243, 243, 243, 0.5)
            }
            td {
                background-color: transparent;
                transition: background-color .2s ease-in-out;
                min-width: 0;
                height: auto;
                box-sizing: border-box;
                text-align: left;
                text-overflow: ellipsis;
                vertical-align: middle;
                border-bottom: 1px solid #e9eaec;
                vertical-align: middle;
                padding: 8px 8px;
                max-width: 400px;
                word-wrap: break-word;
                word-break: normal;
                .field-memo.field-value {
                    min-width: 120px;
                }
            }
            &:last-child td {
                border-bottom: none
            }
        }
    }
}

.grid-small .table {
    tbody>tr>td,
    tbody>tr>th,
    thead>tr>th {
        padding: 6px 4px 6px 4px;
        height: auto;
    }
    th.header-item {
        padding: 6px 4px 6px 4px;
    }
}

.field-container {
    height: 100%;
    position: relative;
}

.field-copy {
    border-bottom: 1px dashed #2d8cf0;
    cursor: pointer;
    display: inline-block;
}

.copy-tip {
    display: none;
    font-size: 16px;
    color: #2d8cf0;
    vertical-align: middle;
}

.copy-tip:hover {
    display: inline-block
}

.field-copy:hover+.copy-tip {
    display: inline-block
}